﻿using Orchard.ContentManagement;
using Orchard.Environment.Extensions;

namespace Contrib.VimeoField.Fields
{
    [OrchardFeature("VimeoField")]
    public class VimeoField : ContentField 
    {
        public string VideoId
        {
            get { return Storage.Get<string>("VideoId"); }
            set { Storage.Set("VideoId", value); }
        }

        public int Width
        {
            get { return Storage.Get<int>("Width"); }
            set { Storage.Set("Width", value); }
        }

        public int Height
        {
            get { return Storage.Get<int>("Height");  }
            set { Storage.Set("Height", value); }
        }

    }
}